package com.richrail.state;

import com.richrail.model.entities.DepotStorage;

public class JavaStateProvider implements StateProvider
{
	final private DepotStorage depotStorage;
	
	public JavaStateProvider(DepotStorage depotStorage)
	{
		this.depotStorage = depotStorage;
	}
	
	@Override
	public DepotState getState()
	{
		return depotStorage.getState();
	}
}
